package com.jeez.module.sys.entity;

import com.jeez.common.entity.DataEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.sql.Timestamp;

/**
 * @author: Felix
 * @date: 2018-7-1
 * @version: v1.0
 * @description:
 */
@Entity
@Table(name = "t_sys_dict")
@Getter
@Setter
public class SysDict extends DataEntity<SysDict> {


    @Basic
    @Column(name = "dict_name", nullable = false, insertable = true, updatable = true, length = 60)
    private String dictName;

    @Basic
    @Column(name = "dict_code", nullable = false, insertable = true, updatable = true, length = 100)
    private String dictCode;

    @Basic
    @Column(name = "dict_desc", nullable = true, insertable = true, updatable = true, length = 60)
    private String dictDesc;

    @Basic
    @Column(name = "dict_value", nullable = true, insertable = true, updatable = true, length = 300)
    private String dictValue;

    @Basic
    @Column(name = "order_num", nullable = false, insertable = true, updatable = true)
    private long orderNum;

    @Basic
    @Column(name = "status", nullable = false, insertable = true, updatable = true, length = 4)
    private String status;

    @Basic
    @Column(name = "remark", nullable = true, insertable = true, updatable = true, length = 400)
    private String remark;



}
